package com.snowRemovingUser.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 预测报表历史数据对象 t_prediction_all
 *
 * @author lg
 * @date 2024-04-16
 */
public class TPredictionAll extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 广播时间 */
    @Excel(name = "广播时间")
    private String announceTime;

    /** 本地时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "本地时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date localTime;

    /** 预报地点 */
    @Excel(name = "预报地点")
    private String placeName;

    /** 24小时气象概要 */
    @Excel(name = "24小时气象概要")
    private String comment;

    /** 精细化解释 */
    @Excel(name = "精细化解释")
    private String weatherExplain;

    /** 未来趋势预报 */
    @Excel(name = "未来趋势预报")
    private String predictionComment;

    /** 小时时间 */
    @Excel(name = "小时时间")
    private Long ft;

    /** 降雪量 */
    @Excel(name = "降雪量")
    private String snow;

    /** 降雨量 */
    @Excel(name = "降雨量")
    private String rain;

    /** 气温 */
    @Excel(name = "气温")
    private String airtmp;

    /** 发布状态 */
    @Excel(name = "发布状态")
    private Integer predictionStatus;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 上级id */
    @Excel(name = "上级id")
    private Long parentId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAnnounceTime(String announceTime)
    {
        this.announceTime = announceTime;
    }

    public String getAnnounceTime()
    {
        return announceTime;
    }
    public void setLocalTime(Date localTime)
    {
        this.localTime = localTime;
    }

    public Date getLocalTime()
    {
        return localTime;
    }
    public void setPlaceName(String placeName)
    {
        this.placeName = placeName;
    }

    public String getPlaceName()
    {
        return placeName;
    }
    public void setComment(String comment)
    {
        this.comment = comment;
    }

    public String getComment()
    {
        return comment;
    }
    public void setWeatherExplain(String weatherExplain)
    {
        this.weatherExplain = weatherExplain;
    }

    public String getWeatherExplain()
    {
        return weatherExplain;
    }
    public void setPredictionComment(String predictionComment)
    {
        this.predictionComment = predictionComment;
    }

    public String getPredictionComment()
    {
        return predictionComment;
    }
    public void setFt(Long ft)
    {
        this.ft = ft;
    }

    public Long getFt()
    {
        return ft;
    }
    public void setSnow(String snow)
    {
        this.snow = snow;
    }

    public String getSnow()
    {
        return snow;
    }
    public void setRain(String rain)
    {
        this.rain = rain;
    }

    public String getRain()
    {
        return rain;
    }
    public void setAirtmp(String airtmp)
    {
        this.airtmp = airtmp;
    }

    public String getAirtmp()
    {
        return airtmp;
    }
    public void setPredictionStatus(Integer predictionStatus)
    {
        this.predictionStatus = predictionStatus;
    }

    public Integer getPredictionStatus()
    {
        return predictionStatus;
    }
    public void setReleaseTime(Date releaseTime)
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime()
    {
        return releaseTime;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("announceTime", getAnnounceTime())
                .append("localTime", getLocalTime())
                .append("placeName", getPlaceName())
                .append("comment", getComment())
                .append("weatherExplain", getWeatherExplain())
                .append("predictionComment", getPredictionComment())
                .append("ft", getFt())
                .append("snow", getSnow())
                .append("rain", getRain())
                .append("airtmp", getAirtmp())
                .append("predictionStatus", getPredictionStatus())
                .append("releaseTime", getReleaseTime())
                .append("parentId", getParentId())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
